<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

// 主页路由
// Route::get('/', 'Index\IndexController@index');
// Center登录默认路由
Route::get('/', 'Center\BaseController@login');
Route::get('center', 'Center\BaseController@login');
Route::get('center/login', 'Center\BaseController@login');
// Center路由组
Route::group(['prefix' => 'center','middleware' => ['web'],'namespace' => 'Center'], function()
{
    Route::get('index/', 'IndexController@index');
    Route::get('index/index', 'IndexController@index');
});
